import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import './assets/css/animate.min.css';
import './assets/css/common.css';
import './assets/js/rem.js'
import './assets/font-awesome-4.7.0/css/font-awesome.min.css'
import './assets/ifont/iconfont.css'
import axios from 'axios';
import BasicRouter from './router';
import store from './store/store.js';
import {Provider} from 'react-redux'
import * as serviceWorker from './serviceWorker';
React.Component.prototype.$axios = axios;

ReactDOM.render(
	<Provider store={store}>
		<BasicRouter/>
	</Provider>, document.getElementById('root'));

// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
// Learn more about service workers: https://bit.ly/CRA-PWA
serviceWorker.unregister();
